package cn.muqingfeng.api.to;

import android.os.Parcel;
import android.os.Parcelable;

public class Forum implements Parcelable {
	private String fid;
	private String name;

	public Forum() {
	}

	public Forum(Parcel source) {
		this.fid = source.readString();
		this.name = source.readString();
	}

	@Override
	public int describeContents() {
		return 0;
	}

	@Override
	public void writeToParcel(Parcel dest, int flags) {
		dest.writeString(fid);
		dest.writeString(name);
	}

	public static final Creator<Forum> CREATOR = new Creator<Forum>() {

		@Override
		public Forum[] newArray(int size) {
			return new Forum[size];
		}

		@Override
		public Forum createFromParcel(Parcel source) {
			return new Forum(source);
		}
	};

	public String getFid() {
		return fid;
	}

	public void setFid(String fid) {
		this.fid = fid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

}
